from dophon_mq import ConsumerCenter, consumer


class Comsumer(ConsumerCenter):

    @consumer(tag='test_tag', arg_name='args')
    def consumer_1(args):
        print(args)
        return args

    @consumer(tag='test_tag2', arg_name='args')
    def consumer_2(args):
        print(args)
        return args

    @consumer(tag='test_tag3', arg_name='args')
    def consumer_3(args):
        print(args)
        return args

    @consumer(tag='test_tag4', arg_name='args')
    def consumer_4(args):
        print(args)
        return args


Comsumer()
